package com.zhaorui.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhaorui.entity.PrdtZ;
import com.zhaorui.service.PrdtZService;
import com.zhaorui.mapper.PrdtZMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 *
 */
@Service
public class PrdtZServiceImpl extends ServiceImpl<PrdtZMapper, PrdtZ>
        implements PrdtZService {
    @Autowired
    private PrdtZMapper prdtZMapper;

    @Override
    public List<HashMap> queryZhStock(PrdtZ prdtZ) {
        return prdtZMapper.queryZhStock(prdtZ);
    }

    @Override
    public List<HashMap> queryZhStock2(Page page, PrdtZ prdtZ) {
        return prdtZMapper.queryZhStock2(page,prdtZ);
    }


}




